/**
* 版权所有:版权所有(C) 2020，卓信科技
* 系统名称:FOL-财务管理系统
* 文件名称:UserBean.java
* 模块名称:TODO(这里请补充模块名称)
* 创建日期:2020年5月19日
* 作        者:gx
* 内容摘要:TODO(这里请补充详细的描述信息)
*/
package com.zx.emanage.util.gen.vo;

import java.awt.Menu;
import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 类  名  称:UserBean
 * 内容摘要:TODO(这里详细描述这个类的作用)
 * 作        者:gx
 */
public class UserBean implements Serializable
{

	private static final long serialVersionUID = 1L;

	// 该字段为登录用户在hr中的persion_id
	private Integer userId;

	private String userCode;

	private String userPasswd;

	private String realname;

	private Integer deptId;

	private String deptSimpleName;

	// 用户所在省
	private String user_province;

	// 用户所在市
	private String user_city;

	// 用户所在区域编码
	private String user_regionNumber;

	// 职务名称
	private String postName;

	// 所属省id
	private String region_province_dict_id;

	// 所属市id
	private String region_city_dict_id;

	// 员工短工号
	private String personnel_shortCode;

	// 有权限的菜单集合
	private Menu menu;

	// 当前用户角色集合
	private List<Map<String, Object>> roleList;

	private String dept_name_desc;

	private Map<String, Object> mennMap;

	public List<Map<String, Object>> getRoleList()
	{
		return roleList;
	}

	public void setRoleList(List<Map<String, Object>> roleList)
	{
		this.roleList = roleList;
	}

	public String getRegion_province_dict_id()
	{
		return region_province_dict_id;
	}

	public void setRegion_province_dict_id(String region_province_dict_id)
	{
		this.region_province_dict_id = region_province_dict_id;
	}

	public String getRegion_city_dict_id()
	{
		return region_city_dict_id;
	}

	public void setRegion_city_dict_id(String region_city_dict_id)
	{
		this.region_city_dict_id = region_city_dict_id;
	}

	private Map<String, String> funcMap = new HashMap<String, String>();

	public String getUser_province()
	{
		return user_province;
	}

	public void setUser_province(String user_province)
	{
		this.user_province = user_province;
	}

	public String getUser_city()
	{
		return user_city;
	}

	public void setUser_city(String user_city)
	{
		this.user_city = user_city;
	}

	public Map<String, String> getFuncMap()
	{
		return funcMap;
	}

	public void setFuncMap(Map<String, String> funcMap)
	{
		this.funcMap = funcMap;
	}

	public static long getSerialversionuid()
	{
		return serialVersionUID;
	}

	public Integer getUserId()
	{
		return userId;
	}

	public void setUserId(Integer userId)
	{
		this.userId = userId;
	}

	public Integer getDeptId()
	{
		return deptId;
	}

	public void setDeptId(Integer deptId)
	{
		this.deptId = deptId;
	}

	public String getUserCode()
	{
		return userCode;
	}

	public void setUserCode(String userCode)
	{
		this.userCode = userCode;
	}

	public String getUserPasswd()
	{
		return userPasswd;
	}

	public void setUserPasswd(String userPasswd)
	{
		this.userPasswd = userPasswd;
	}

	public void putFuncName(String funcName)
	{
		funcMap.put(funcName, "1");
	}

	public boolean hasFuncName(String funcName)
	{
		if (funcMap.get(funcName) == null)
		{
			return false;
		}
		return true;
	}

	public void cleanFuncNameMap()
	{
		funcMap = new HashMap<String, String>();
	}

	public String getRealname()
	{
		return realname;
	}

	public void setRealname(String realname)
	{
		this.realname = realname;
	}

	public String getDeptSimpleName()
	{
		return deptSimpleName;
	}

	public void setDeptSimpleName(String deptSimpleName)
	{
		this.deptSimpleName = deptSimpleName;
	}

	public String getUser_regionNumber()
	{
		return user_regionNumber;
	}

	public void setUser_regionNumber(String user_regionNumber)
	{
		this.user_regionNumber = user_regionNumber;
	}

	public String getPostName()
	{
		return postName;
	}

	public void setPostName(String postName)
	{
		this.postName = postName;
	}

	public String getPersonnel_shortCode()
	{
		return personnel_shortCode;
	}

	public void setPersonnel_shortCode(String personnel_shortCode)
	{
		this.personnel_shortCode = personnel_shortCode;
	}

	public Menu getMenu()
	{
		return menu;
	}

	public void setMenu(Menu menu)
	{
		this.menu = menu;
	}

	public String getDept_name_desc()
	{
		return dept_name_desc;
	}

	public void setDept_name_desc(String dept_name_desc)
	{
		this.dept_name_desc = dept_name_desc;
	}

	public Map<String, Object> getMennMap()
	{
		return mennMap;
	}

	public void setMennMap(Map<String, Object> mennMap)
	{
		this.mennMap = mennMap;
	}
}
